Skip to main content

Update Issue

AutomatR.Jira.Activities.UpdateIssue

The "Update Issue" activity in AutomatR's Jira package uses the Jira API to modify details of a specific issue. This activity provides flexibility in updating various aspects of an issue, such as the summary, description, project key, and issue type.

Once you set the Issue field, you can set the Issue dynamically with the help of variables, so that the fields stay on your canvas. Alternatively, you can use a different ticket key to bring in different set of fields.

  • You can only update an issue where all the fields or a subset of the fields apply.
  • You can only update an issue where all the fields or a subset of the fields apply.
  • You can use the Update Record activity with an Issues object when dynamically creating a Jira issue.

NOTE: The authenticated Jira account must have sufficient permissions to the respective resource in each activity.

Properties

NameDescription
Input
Project KeyEnter the Project Key for which the issue needs to be updated. String variables containing the Project Key.
SummaryEnter a string containing the updated summary or title for the issue. String variables containing the updated summary.
DescriptionEnter a string containing the updated description for the issue. String variables containing the updated description.
Issue Type IDEnter the ID for the updated issue type (e.g., Bug, Task, etc.). String variables containing the Issue Type ID.
Ticket IDEnter the Ticket ID of the issue for which details need to be updated. String variables containing the Ticket ID.
Ticket KeyEnter the Ticket Key of the issue for which details need to be updated. String variables containing the Ticket Key.
Misc
Display NameThe display name of the activity. This field supports only strings or String variables.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Update Issue" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultReturns an object when the issue is updated successfully. Variables of dynamic type to store the operation result.

How to use:

  1. Drag and drop the "Update Issue" activity onto the workflow.
  2. Configure the properties by providing the Ticket ID or Ticket Key and updating the desired details (summary, description, project key, issue type).
  3. Optionally, configure the delay.
  4. Execute the workflow to update the specified issue in Jira.

Example: Consider an example where the "Update Issue" activity is used to modify the summary and description of a Jira issue:

Update Issue:
Ticket ID: "JRA-123"
Summary: "Updated Issue Summary"
Description: "This is the updated issue description."
Result: updatedIssue

In this example, the activity updates the Jira issue with Ticket ID "JRA-123" by changing the summary to "Updated Issue Summary" and the description to "This is the updated issue description." The result of the operation is stored in the variable "updatedIssue" for further handling in the workflow.